package com.sofwin.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("test_user")
public class TestPojo {
    @TableId(value = "user_id",type = IdType.AUTO)
    private Integer id;

    @TableField("user_name")
    private String username;
    @TableField("user_age")
    private String age;
    @TableField("user_password")
    private String password;
    @TableField("user_sex")
    private String sex;
    @TableField("user_address")
    private String address;
    @TableField("user_email")
    private String email;

    @TableLogic
    @TableField("is_delete")
    private Integer deleted;
}
